fix finding of child's page, since we have to validly deal with labels and
authorTim Janik <timj@gtk.org>
Tue, 31 Jul 2001 21:23:19 +0000 (21:23 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 31 Jul 2001 21:23:19 +0000 (21:23 +0000)
commit8dfce4590b1308c621e0411faa8a801c65923591
treed182216920ff5c7f29ea2bd3903b2b4b287243ba
parent6fe3d87b10596806abadffadde6a3e91edd98fe4
fix finding of child's page, since we have to validly deal with labels and

Tue Jul 31 22:59:33 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtknotebook.c (gtk_notebook_get_child_property):
        (gtk_notebook_set_child_property): fix finding of child's page,
        since we have to validly deal with labels and menus here as well.
        (gtk_notebook_get_child_property): fix warning.
        (gtk_notebook_class_init): property tab_pack is of type
        GTK_TYPE_PACK_TYPE (enum) not boolean.
        (gtk_notebook_find_child): don't always warn, we might be looking
        for a label or menu child.
        (gtk_notebook_map): fix mapping of panel.

        * gtk/gtkwidget.c (gtk_widget_set_child_visible): always constrain
        widget's mapped state, regardless of the value being set equals
        old settings, since things like REALIZED(parent) or MAPPED(parent)
        may have changed since the old value was set. make it an error to
        invoke this function on a toplevel widget.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c
gtk/gtkwidget.c